:host ::ng-deep .ant-layout-header {
    padding: 0;
    color: #666;
    height: 40px;
    line-height: 40px;
    .header {
        position: relative;
        width: 100%;
        height: 100%;
        color: #fff;
        padding: 0 16px;
        &:before{
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            bottom: 0;
        }
        div {
            display: inline-block;
            vertical-align: top;
        }
        div.header_dept {
            overflow-x: hidden;
            text-overflow: ellipsis;
            
            div {
                display: block;
            }
            .ant-select-selection__rendered{
                margin-left: 0;
            }
            .ant-select{
                min-width: 84px;
                max-width: 300px;
            }
            .ant-select-selection,
            .ant-select-selection--single {
                background-color: transparent;
                border: none;
            }
            .ant-select-selection-selected-value{
                font-size: 16px;
            }
            .ant-select-selection__placeholder, .ant-select-search__field__placeholder{
//              color: rgba(255, 255, 255, .8);
                color: #fff;
            }
//          .ant-select-selection__clear{
//              color: #fff;
//          }
            .ant-select-arrow{
                color: rgba(255, 255, 255, 0.8);
            }
            .ant-select-selection__clear{
                background: none;
                color: #ccf0e2;
                background: #00b570;
                border-radius: 12px;
                &:hover{
                    color: #fff;
                }
            }
            .ant-select-open .ant-select-selection{
                   border-color: rgba(255, 255, 255, .8);
            }
            .ant-select-selection:hover{
                border-color: rgba(255, 255, 255, .8);
            }
            .ant-select-open .ant-select-selection__placeholder, .ant-select-open  .ant-select-search__field__placeholder{
                color: #fff;
            }

        }
        .tag {
            position: relative;
            height: 100%;
            color:  rgba(255, 255, 255, .8);
            padding-left: 15px;
            padding-right: 15px;
            outline: none;
            cursor: pointer;
            font-size: 16px;
            transition: color .3s;
            display:inline-block;
            &:hover{
                color: #fff;
            }
            &:before{
                content: "";
                position: absolute;
                left: 15px;
                right: 15px;
                bottom: 1px;
                border-bottom: 3px solid #fff;
                border-radius: 4px;
                -webkit-transform: scaleX(0.0001);
                -ms-transform: scaleX(0.0001);
                transform: scaleX(0.0001);
                opacity: 0;
                -webkit-transition: opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
                transition: opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
                transition: transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
                transition: transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 0.15s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.15s cubic-bezier(0.215, 0.61, 0.355, 1);
            }
        }
        .selectedTag {
            &:before{
            opacity: 1;
            -webkit-transform: scaleY(1);
            -ms-transform: scaleY(1);
            transform: scaleY(1);
            }
            color: #fff;
        }
        .menu {
            cursor: pointer;
            margin-right: 20px;
        }
        .left {
            float: left;
            .logo_container {
                width: 30px;
                margin: 5px 10px 0 0;
                height: 30px;
                border-radius: 15px;
                background: #fff;
                background-color: white;
                padding: 3px 0 0 2px;
                img {
                    float: left;
                    height: 25px;
                }
            }
            h1 {
                margin-left: 20px;
                color: #fff;
                font-size: 16px;

                display: inline-block;
                vertical-align: top;
                margin: 0;
            }
        }
        .right {
            z-index: 10;
            //  float: right;
            position: absolute;
            right: 15px;
            .opt {
                display: block;
            }
             :host ::ng-deep .ant-avatar {
                margin-top: 16px;
                margin-right: 16px;
            }
        }
        .right:hover {
            height: auto;
        }
    }

    .left, .header_dept{
        position: relative;
        z-index: 10;
    }
    .tag{
        z-index: 10;
    }
}
//add
.login-info-dd{
    min-width: 100px;
    max-width: 200px;
    li{
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        a{
            display: inline-block;
            vertical-align: top;
        }
    }
}
:host ::ng-deep .ant-layout-sider {
    line-height: 120px;
    height: calc( 100vh - 40px);
    overflow-x: hidden;
    overflow-y: auto;
    background: #F4F4F4;
    &::-webkit-scrollbar {
      width: 0;
      height: 0;
    }
    button {
      position: relative;
      width: 100%;
      bottom: 45px;
      background: #E6E6E6;
      position: relative;
      height: 30px;
      padding: 0;
      border: none;
    //   color: rgba(255, 255, 255, .8);
      border-radius: 0;
      border-bottom: 0px solid #1B1D25;
    }
    ul.catalog {
      text-align: left;
      position: relative;
      bottom: 90px;
      overflow-y: hidden;
      overflow-x: hidden;
      .ant-menu-item {
        margin:0;
        background:#E6E6E6;
        color: #5C5D5D;
        padding: 0 0 0 45px!important;
        &:hover {
          background:#074eb1;
          color:#fff;
        }
      }
      .ant-menu-item-selected {
        background:#074eb1;
        color:#fff;
      }
      .ant-menu-submenu-title{
        padding: 0 0 0 45px!important;
        background: #F4F4F4;
        color: #5C5D5D;
        margin:0;
        .ant-menu-submenu-arrow {
            right:10px;
        }
        .ant-menu-submenu-arrow::before,.ant-menu-submenu-arrow::after {
          background:#5C5D5D;
        }
      }
      &.ant-menu-inline-collapsed{
        .menuicon{
          left: 30px;
        }
      }
    }
    .ant-menu{
      background: #F4F4F4;
    }
    .ant-menu-sub{
      background: #F4F4F4;
    }
    .ant-menu-vertical .ant-menu-submenu, .ant-menu-vertical-left .ant-menu-submenu, .ant-menu-vertical-right .ant-menu-submenu, .ant-menu-inline .ant-menu-submenu{
      padding-bottom: 0;
      min-height: 44px;
    }
  
    .ant-menu-dark .ant-menu-sub{
      background: #F4F4F4;
    }
  }
  :host ::ng-deep .ant-layout:last-child {
    margin: 0;
  }  
::ng-deep .ant-layout-content {
    min-height: 120px;
    line-height: 120px;
    overflow-x: auto;
    height: calc( 100vh - 40px);
    position:relative;
    nz-tabset {
      height: 100%;
      width:100%;
      overflow-y: auto;
      .ant-tabs-bar {
        margin-bottom: 0;
      }
      div.ant-tabs-content {
        .tab-out {
          position: absolute;
          top: 30px;
          bottom: 0px;
          width: 100%;
        }
      }
    }
  }
::ng-deep .ant-tabs-content{
    height: calc(100% - 30px);
}
:host ::ng-deep .tab-card-cont{

    >.ant-tabs-bar{
        padding-top: 6px;
        background: #D1D3DA;
        >.ant-tabs-nav-container{
            padding: 0 16px 0 0;
        }
    }
    > .ant-tabs-bar .ant-tabs-tab{
        color: #666666;
        opacity: 0.5;
        background: #FFFFFF;    
        padding:0 8px;
        border-radius:0px 10px 0 0!important;
        &:not(:nth-of-type(2)) {
            border-radius:10px 10px 0 0!important; 
        }
    }
    >.ant-tabs-bar .ant-tabs-tab-active{
        background:#fff;
        color:#111111;
        opacity:1;
    }
}
::ng-deep  .ant-modal-confirm-confirm .ant-modal-confirm-body > .anticon {
    color:#ff8081;
}
::ng-deep .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-nav-container {
    height:24px;
}
:host ::ng-deep .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab {
    line-height: 24px;
}
::ng-deep .ant-layout {
    background: #fff;
    // margin-bottom: 48px;  
}
// 按钮高度
::ng-deep .ant-btn {
    height:30px;
}
::ng-deep .ant-table-thead>tr>th{
    background:#F4F4F4;
}
// 表格高度
::ng-deep .ant-table-tbody>tr>td,::ng-deep .ant-table-thead>tr>th {
    padding:0 10px;
    height:40px;
}
.app_list {
    float: right;
    max-width: calc(100% - 370px);
    overflow-y: hidden;
    height: 100%;
}
.message-box {
    height: 30px;
    line-height: 30px;
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size:14px;
    color: orange;
    font-weight:600;
    background: transparent;
    text-align:center;
    z-index:999;
    /* button {
        float: right;
        margin-right: 5px;
    } */
}